package top.infopub.mgr.mkt.dao;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.infopub.generic.GenericDao;
import top.infopub.mgr.mkt.domain.ProSellDomain;
import top.infopub.mgr.mkt.vo.ProSellVo;
import top.infopub.model.mkt.ProSell;
import top.infopub.model.mkt.ProjectInfo;

/** 营销策划(MKT_PRO_SELL) **/
@Repository
public interface ProSellDao extends GenericDao<ProSell, String> {

    Page<ProjectInfo> selectByDomainWhere(ProSellVo proSellVo);

    Page<ProSellDomain> selectMyCheckByDomainWhere(ProSellVo proSellVo);

    ProSellVo selectById(String id);

    void insertById(ProSell proSell);

    void insertByProcess(ProSell proSell);

    void modifyOaId(@Param("oaId") String oaId, @Param("id") String id);
}
